<template>
  <div id="app">
   <Header/>
   <router-view></router-view>
   <!-- 在home或者search是显示的  在登录,注册是隐藏的 -->
   <Footer v-show="$route.meta.show"/>
  </div>
</template>

<script>
import Header from './components/Header'
import Footer from './components/Footer'

export default {
  name: 'App',
  components: {
    Header,
    Footer
  }
}
</script>

<style>

</style>
